//
//  SpecDetailCellModel.m
//  TryShopping
//
//  Created by LiYinDi on 16/6/22.
//  Copyright © 2016年 RuiBen. All rights reserved.
//

#import "SpecDetailCellModel.h"

@implementation SpecDetailCellModel
+(instancetype)dataModelWithDict:(NSDictionary *)dict
{
       
    SpecDetailCellModel *dataModel=[[self alloc] init];
    dataModel.specInv=[NSString stringWithFormat:@"%@",dict[@"specInv"]];
    
    dataModel.specId=[NSString stringWithFormat:@"%@",dict[@"specId"]];
    
    dataModel.specName=[NSString stringWithFormat:@"%@",dict[@"specName"]];
    
     dataModel.sizeName=[NSString stringWithFormat:@"%@",dict[@"sizeName"]];
     dataModel.itemId=[NSString stringWithFormat:@"%@",dict[@"itemId"]];
     dataModel.colourName=[NSString stringWithFormat:@"%@",dict[@"colourName"]];
    
    return dataModel;
}
@end
